package com.example.searchjavaapi.searcher;


//表示一条搜索结果，是根据DocInfo得到的
public class Result {
    private String titile;
    //当前场景中，这两个url就填成一样的
    private String showUrl;
    private String clickUrl;
    private String desc;//描述,网页正文的摘要信息，一般要包含查询词，或查询词的部分

    @Override
    public String toString() {
        return "Result{" +
                "titile='" + titile + '\'' +
                ", showUrl='" + showUrl + '\'' +
                ", clickUrl='" + clickUrl + '\'' +
                ", desc='" + desc + '\'' +
                '}';
    }

    public String getTitile() {
        return titile;
    }

    public void setTitile(String titile) {
        this.titile = titile;
    }

    public String getShowUrl() {
        return showUrl;
    }

    public void setShowUrl(String showUrl) {
        this.showUrl = showUrl;
    }

    public String getClickUrl() {
        return clickUrl;
    }

    public void setClickUrl(String clickUrl) {
        this.clickUrl = clickUrl;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
